use $data/Table_A3_1_Final.dta, replace 
reg lnenergy hour_temp post finpost healthpost tt tt2 tt3 i.dayofweek i.hour i.apt, cluster(apt)
outreg2 using $tables/Table_A3, keep(hour_temp post finpost healthpost) label replace ctitle("ln(15 Minute kWh)") addtext(Full Sample, Yes, Dropped Apartment With 0 Emails Opened, No, Dropped Double Apartment, No, Clustered Standard Errors, Yes) 

use $data/Table_A3_2_Final.dta, replace 
reg lnenergy hour_temp post finpost healthpost tt tt2 tt3 i.dayofweek i.hour i.apt, cluster(apt)
outreg2 using $tables/Table_A3, keep(hour_temp post finpost healthpost) label append ctitle("ln(15 Minute kWh)") addtext(Full Sample, No, Dropped Apartment With 0 Emails Opened, Yes, Dropped Double Apartment, No, Clustered Standard Errors, Yes) 

use $data/Table_A3_3_Final.dta, replace 
reg lnenergy hour_temp post finpost healthpost tt tt2 tt3 i.dayofweek i.hour i.apt, cluster(apt)
outreg2 using $tables/Table_A3, keep(hour_temp post finpost healthpost) ///
	label append ctitle("ln(15 Minute kWh)") addtext(Full Sample, No, Dropped Apartment With 0 Emails Opened, No, Dropped Double Apartment, Yes, Clustered Standard Errors, Yes) ///
	sortvar(post finpost healthpost hour_temp) excel


// DROPPED DOUBLE APARTMENT, 15 MINUTE, XTGLS
use $data/Table_A3_3_Final.dta, replace 
xtset apt timestamp
xtgls lnenergy hour_temp post finpost healthpost tt tt2 tt3 i.dayofweek i.apt, panels(h) corr(psar1) force
